package com.erp.erp_entitys.business.rsp;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @ClassName : PurchaseInfoRsp
 * @Description : 采购信息出参实体
 * @Author : lst
 * @Date: 2021-03-12 12:52
 */
public class PurchaseInfoRsp implements Serializable {
    private static final long serialVersionUID = 5424773679500511859L;

    /**
     * 主键id
     */
    private Integer id;

    /**
     * 产品数量
     */
    private BigDecimal amount;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("PurchaseInfoRsp").append('[')
                .append("id=")
                .append(id)
                .append(",amount=")
                .append(amount)
                .append(']');
        return sb.toString();
    }
}
